package com.example.hotelapp.Bean;

import java.util.List;

/**
 * 用户登录实体类
 */
public class UserLoginBean {

    /**
     * code : 1
     * msg : 查询成功
     * data : [{"id":3,"memberName":"张三","phone":"18419719946","password":"123456","sex":"男","photo":"profile.jpg","email":null,"certificateNumber":null,"certificateType":null,"checkInNumber":null,"registerTime":null,"isValid":null,"memberTypeId":null}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 3
         * memberName : 张三
         * phone : 18419719946
         * password : 123456
         * sex : 男
         * photo : profile.jpg
         * email : null
         * certificateNumber : null
         * certificateType : null
         * checkInNumber : null
         * registerTime : null
         * isValid : null
         * memberTypeId : null
         */

        private int id;
        private String memberName;
        private String phone;
        private String password;
        private String sex;
        private String photo;
        private String email;
        private String certificateNumber;
        private int certificateType;
        private int checkInNumber;
        private long registerTime;
        private int isValid;
        private int memberTypeId;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getMemberName() {
            return memberName;
        }

        public void setMemberName(String memberName) {
            this.memberName = memberName;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getPhoto() {
            return photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getCertificateNumber() {
            return certificateNumber;
        }

        public void setCertificateNumber(String certificateNumber) {
            this.certificateNumber = certificateNumber;
        }

        public int getCertificateType() {
            return certificateType;
        }

        public void setCertificateType(int certificateType) {
            this.certificateType = certificateType;
        }

        public int getCheckInNumber() {
            return checkInNumber;
        }

        public void setCheckInNumber(int checkInNumber) {
            this.checkInNumber = checkInNumber;
        }

        public long getRegisterTime() {
            return registerTime;
        }

        public void setRegisterTime(long registerTime) {
            this.registerTime = registerTime;
        }

        public int getIsValid() {
            return isValid;
        }

        public void setIsValid(int isValid) {
            this.isValid = isValid;
        }

        public int getMemberTypeId() {
            return memberTypeId;
        }

        public void setMemberTypeId(int memberTypeId) {
            this.memberTypeId = memberTypeId;
        }
    }
}
